Skip to main content

Logout

Terminate the session

Request to be POSTed to uri : /NorenWClientTP/Logout

Example:

ret = api.logout()

Request Details :

Parameter NamePossible valueDescription
jData*Should send json object with fields in below list
jKey*Key Obtained on login success.
Json FieldsPossible valueDescription
uid*User Id of the login user

Response Details :

Response data will be in json format with below fields.

Json FieldsPossible valueDescription
statOk or Not_OkLogout Success Or failure status
request_timeIt will be present only on successful logout.
emsgThis will be present only if Logout fails.

Sample Success Response :

{
"stat":"Ok",
"request_time":"10:43:41 28-05-2020"
}

Sample Failure Response :

{
"stat":"Not_Ok",
"emsg":"Server Timeout : "
}